﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>@ViewBag.Title</title>	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")"></script>
	<script type="text/javascript" src="@Url.Content("~/Scripts/main.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jtip.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.cleditor.min.js")"></script>
	<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/ie6.css")" media="screen"/><![endif]-->
    @RenderSection("Header", false);
    <script type="text/javascript">
        $(function () {
            $(".datepicker").datepicker();
        });
    </script>
</head>

<body class="inner-page">
	<div id="pagewidth">
		<div class="pagewidth-right">
			<div class="pagewidth-left">
				<!--main start-->
				<div id="main">
					<!--header start-->
					<div id="header">
						<!--header-main start-->
						<div class="header-main">
							<h1 class="logo"><a href="@Url.Content("~/")">Microsoft Eneta</a></h1>
                            @if(User.Identity.IsAuthenticated)
                            {
                                @Html.Partial("_AuthUserBlock");
                            }
                            else
                            {                            
                                @Html.Partial("_AnonUserBlock");
                            }
						</div>
						@Html.Action("TopMenu", "DynamicMenuMng")
						<!--header end-||-content-area start-->
                    </div>
					<div id="content-area">
						@RenderBody()
						<div id="sidebar">
							@*@{ Html.RenderPartial("_SidebarLearning"); }*@
							@{ Html.RenderPartial("_SidebarEvents"); }
							@{ Html.RenderPartial("_SidebarUsers"); }
							@*@{ Html.RenderPartial("_SidebarCompanies"); }*@
							@{ Html.RenderPartial("_SidebarRss"); }
							@{ Html.RenderPartial("_SidebarSocial"); }
						</div>
					</div>
					<!--content-area end-||-footer-box start-->
					@{ Html.RenderPartial("_Footer"); }
			    </div>
			<!--main end-->
			</div>
		</div>
	</div>
</body>
</html>